package com.gh.service;

import com.gh.entity.UserBind;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gh.vo.UserBindVo;

import java.util.Map;

/**
 * <p>
 * 用户绑定表 服务类
 * </p>
 *
 * @author Eric
 * @since 2021-09-06
 */
public interface UserBindService extends IService<UserBind> {

    String commitUserBind(UserBindVo userBindVo, Long userId);

    void notifyBind(Map<String, Object> map);

    /**
     * 根据用户id获取bindCode
     * @param userId
     * @return
     */
    String getBindCodeByUserId(Long userId);
}
